home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / unixt~3h / unixtkit.arc / man.arc / COMM.MAN < prev    next >
Text File  |  1988-03-28  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.         COMM                  ST-UNIX User's Manual                  COMM
  5.  
  6.  
  7.  
  8.         COMMAND
  9.              comm - find lines common to both files.
  10.  
  11.         FORMAT
  12.              comm [ - [ 123 ] ] file1 file2
  13.  
  14.         DESCRIPTION
  15.              _✓C_✓o_✓m_✓m reads _✓f_✓i_✓l_✓e_✓1 and _✓f_✓i_✓l_✓e_✓2, which  should  be  sorted  (e.g.
  16.              using _✓s_✓o_✓r_✓t) and produces output prefixed by a digit indicat-
  17.              ing whether the line was in _✓f_✓i_✓l_✓e_✓1, _✓f_✓i_✓l_✓e_✓2 or  both  (where  3
  18.              indicates  both) Specifying `-' as a filename will cause the
  19.              standard input to be used instead.
  20.  
  21.              Flags 1, 2, or 3  suppress  printing  of  the  corresponding
  22.              results.
  23.              Examples:
  24.              comm -12 prints lines common to both files.
  25.              comm -23 prints lines in _✓f_✓i_✓l_✓e_✓1 but not in _✓f_✓i_✓l_✓e_✓2.
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.         Printed 28/March/1988     30 March 1987                         1
  64.  
  65.  
  66.  
  67.